package dao;

import entity.*;
import entity.Record;

import java.sql.SQLException;
import java.util.ArrayList;

public interface RecordDAO {
    public boolean addIncome(Income income);
    public boolean addExpense(Expense expense);
    public ArrayList<Record> displayAllRecord() throws SQLException;

    public ArrayList<Record> queryRecord(String keyword) throws SQLException;

    public void setMonthlyBudget(Budget budget);
}
